package com.icedevcloud.common.core.api;

import lombok.Getter;
import lombok.ToString;

@Getter
@ToString
public enum ErrorCodeEnum implements IErrorCode {

    SUCCESS(200, "执行成功"),
    FAILED(500, "操作失败"),
    SYSTEM_ERROR(500, "系统错误，请重试"),
    USER_OR_PASSWORD_ERROR(500, "用户或密码错误"),
    ;

    private Integer code;

    private String message;

    ErrorCodeEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

}
